package com.dr.db;

import com.dr.pojo.Student;

import java.util.List;

/**
 * Created by tugou on 2017/4/25.
 * 学员信息表
 */
public interface StudentMapper {

    /**
     * 获取学员信息
     * @param student
     * @return
     */
    List<Student> getStudent(Student student);

    /**
     * 获取学员信息
     * @return
     */
    List<Student> getStudentById(List<Integer> ids);


    /**
     * 插入学员信息
     * @param student
     * @return
     */
    int insertStudent(Student student);

    /**
     * 更新学员信息
     * @param student
     * @return
     */
    int updateStudent(Student student);
}
